import Vue from 'vue'
import Router from 'vue-router'
import Login from './views/login'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: Login
    },
    {
      path: '/room-list',
      name: 'roomList',
      component: () => import('./views/room/list')
    },
    {
      path: '/room-inner',
      name: 'roomInner',
      component: () => import('./views/room/inner')
    },
  ]
})
